package Static关键字;

public class StaticCode {
    static int a;

    public StaticCode() {
        System.out.println("构造方法执行");
        a = 100;
    }

    static {
        System.out.println("静态代码块执行");
    }

}
